<div id='comment'>
         <h3>所有评论</h3>
         <hr>
         <div>
       <?php 
       foreach ($comment as $row)
       {
           echo "    <p>".$row['nickname']."    ".date('Y/m/d',$row['created'])."                    ".$row['body']."</p>"; 
       }   
           ?>
         </div>
         <hr>
<form action="<?PHP echo base_url('main/comment_post'); ?>" method="post">
         昵称:<br>
         <input type="text" name='nickname' /><br>
         电子信箱：<br>
         <input type="text" name="email" /><br>
         评论内容:<br>
         <textarea name="body" cols=60 rows=10>
         </textarea><br>
         <input type="hidden" name="id" value="<?php echo $article['id'];?>">
         <input type="submit" value="提交">
         </form>
</div>
</div>